package com.lhf.common.enums;

/**
 * <p></p>
 *
 * @author liuhf
 * @createTime 2021/3/29 9:58
 * @since 1.0
 */
public enum Status {
    SUCCESS(2000, "请求成功"),
    FAILURE(5000, "请求失败"),
    ALREADY_EXIST(4500, "已存在"),
    NOT_AUTH(4100, "未认证"),
    BAD_CREDENTIALS(4001, "用户名或密码错误"),
    NOT_PERMISSION(4200, "无权限");


    public int code;
    public String mes;

    Status(int code, String mes) {
        this.code = code;
        this.mes = mes;
    }


}
